const app = new Vue({
	data: {
		msg: "v-if",
		awesome: true,
		type: "A",
		loginType: 'username',
		ok: true
	},
	methods: {
		toggleLoginType() {
			if(this.loginType === 'username') {
				this.loginType = !'username'
			} else {
				this.loginType = 'username'
			}
		}
	}
}).$mount("#app")


